<%@page import="java.util.ArrayList"%>
<%@page import="domain.Alternative"%>
<%@page import="domain.Project"%>
<%@page import="java.util.List"%>

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<%
	Project project = (Project) request.getAttribute("project");
	List<Alternative> alternatives = (ArrayList<Alternative>) request.getAttribute("alternatives");
%>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><%=project.getName() %></title>
<link href="./resources/style/mainStyle.css" rel="stylesheet" type="text/css" />

<script type="text/javascript">
</script>
</head>
<body>
	<br/>
	<div align="center">
		<div class='box' style="width: 60%" align="center">
			<div class='boxtop'><div></div></div>
		  		<div class='boxcontent'>
		  			<u><%= project.getName() %></u>
		  			<ul>
		  				<%for(int i=0; i<alternatives.size(); i++){ 
		  					Alternative av = alternatives.get(i);
		  				%>
		  					<li><%=av.getName() %> (<%=av.getPriority() %>)</li>
		  				<%} %>
		  			</ul>
		  		</div>
		 	<div class='boxbottom'><div></div></div>
		</div>
	</div>
	
	<br/>
</body>
</html>